Anspress\Addons\Avatar\Generator S

Total Complexity 34
Dependencies 2
Dependents 1
Total lines 331
Lines of code 143
Logical lines of code 96
Comment lines 127
Methods 11
Properties 10

Methods 11

Method Rating Maintainability Complexity Lines of code
__construct()
A
53 11 22
generate()
S
51 5 23
image_gradientrect()
S
49 4 30
hex_to_rgb()
S
54 4 20
color_luminance()
S
58 3 13
filepath()
S
66 2 8
filename()
S
80 1 3
colors()
S
71 1 4
avatar_exists()
S
71 1 5
fileurl()
S
72 1 5
image_center()
S
62 1 10